<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<title>Teaching at SVE | Silicon Valley English</title>
<meta name="description" content="Join the Sillicon Valley English Team and sign up to become a Teacher in Shanghai Today!" />
<meta name="Keywords" content="English Teaching in China, Shanghai Teachers, Teach in Shanghai, Shanghai Education Jobs, Sign up" />
<link rel="shortcut icon" href="https://www.svenglish.cn/images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/reg.css">
</head>
<body class="reg">
  <div id="regEL" :class="{'alertShow': alertBox.show}">

    <div class="page_all">
      <div class='header'>
        <a class='logo' href="index.html"><img src='images/logo-english.png'></a>
      </div>

      <!-- regMain -->
      <div class="regMain">
        <div class="main_box regBan">
          <article class="regBanDetail">
            <header>Teaching at SVE</header>
            <p>Silicon Valley English is taking a new approach to learning english by delivering a natural, phonics- driven program directly to young learners' homes. With small classes of only 3-4 students and a wealth of teaching resources, our system ensures that both teachers and students can thrive. </p>
          </article>
          <img src="images/reg/reg-ban.jpg" alt="">
        </div>

        <!-- regForm -->
        <div class="regForm">
          <ul class="form_list">
            <li>
              <div class="group" :class="{'error' : !rules.fullName && ( !/^[a-zA-Z\u4e00-\u9fa5\s]+$/.test(form.fullName) || /^\s*$/.test(form.fullName) ) }">
                <input type="text" placeholder="Full Name" maxlength="50" class="input" v-model="form.fullName">
                <div class="rf-item-error">Please fill in your name</div>
              </div>
            </li>
            <li class="regTel">
              <div class="regTel-tcodeWrap" :class="{'error' : !form.territoryCode && !rules.territoryCode}" @click="handleShowCountryCode(1)">
                <input type="text" class="input reg-tCode" v-model="form.territoryCode" readonly unselectable="on" onfocus="this.blur()">
                <span class="iconfont">&#xe666;</span>
              </div>
              <div class="regPhoneWrap group" :class="{'error' : !rules.phoneNo && !( (form.territoryCode === '+86' && /^1[3-9]\d{9}$/.test(form.phoneNo)) || (form.territoryCode !== '+86' && String(form.phoneNo).length > 4) ) }">
                <input type="number" class="input reg-phone" v-model="form.phoneNo" maxlength='8' oninput="if(value.length>16)value=value.slice(0,16)" placeholder="Phone Number">
                <div class="rf-item-error">Please fill in cell phone number</div>
              </div>
            </li>
            <li ref="sBtn"><span class="btn" @click="handleSignUp">Sign Up</span></li>
          </ul>
        </div>
        <!-- //regForm -->

        <article class="reg-details">
          <header class="rgd-head">
            <h3>We Want You!</h3>
            <p>We are actively recruiting teachers</p>
            <p>with the following background:</p>
          </header>
          <section class="rgd-detail">
            <h4 class="rgd-detail-tit">Requirements</h4>
            <ul class="rd-list">
              <li>At least 1 year teaching experience with kids under age 10</li>
              <li>Bachelors degree</li>
              <li>Fluent English with minimal accent</li>
              <li>Willingness to travel to class locations</li>
            </ul>
            <h4 class="rgd-detail-tit">Added Benefits</h4>
            <ul class="rd-list">
              <li>Mandarin ability</li>
              <li>Have lived/studied in English-speaking countries</li>
              <li>Availability on weekday afternoons</li>
              <li>Ability to teach different subjects in English</li>
              <li>Teacher Certification/TEFL/TESOL</li>
            </ul>
            <div class="rgd-offering">
              <h4 class="rgd-detail-tit">Our Offerings</h4>
              <ul class="rd-list">
                <li>Competitive compensation in a fast-growing environment</li>
                <li>Regular training and teaching feedback to help you improve your skills</li>
                <li>Team-building with other teachers that  connect you to our growing community</li>
                <li>Up-to-date teaching toolkit and resources</li>
              </ul>
            </div>
          </section>

          <section class="regContact">
            <div class="regContact-l"><img src="images/reg/qrcode.png"></div>
            <div class="regContact-r">
              <p>Please scan the QR code to add us for more recruitment information</p>
              <p class="regContact-mail"><strong>Email:</strong> service@svenglish.cn</p>
              <p><strong>Phone:</strong> <a href="tel:4006863106"class="call">400 686 3106</a></p>
            </div>
          </section>
        </article>

        <div class="reg-fixBottom" v-show="fixBtn">
          <span class="btn" @click="window.scrollTo(0,0)">Sign Up</span>
        </div>
      </div>
      <!-- //regMain -->

    </div>
    <!--//page_all-->

    <!--注册表单-->
    <transition name="bounce">
      <div class="alertBox fullPage" v-if="alertBox.step1">
        <div class="fullPage-header">
          <span class="iconBefore icon-back" @click="closeAlert(1)"></span>
          <h3>Fill in your information</h3>
        </div>
        <article class="fullPage-detail" ref="regDetail">
          <section class="regStep1">
            <div class="regTip">
              Thank you for submission. Please complete the following info for us to match classes with your best fit.
            </div>

            <form class="myRegForm">
              <div class="regForm-item labLeft">
                <label class="rf-item-label">Gender<dfn>*</dfn></label>
                <div class="group" :class="{'error': !form.gender && !rules.gender}">
                  <div class="rf-item-radioGroup">
                    <div class="radio-item">
                      <input type="radio" name="gender" value="FEMALE" id="Female" v-model="form.gender">
                      <label for="Female">Female</label>
                    </div>
                    <div class="radio-item">
                      <input type="radio" name="gender" value="MALE" id="Male" v-model="form.gender">
                      <label for="Male">Male</label>
                    </div>
                  </div>
                  <div class="rf-item-error">Please select</div>
                </div>
              </div>

              <div class="regForm-item labTop">
                <label class="rf-item-label">Your Availability<dfn>*</dfn></label>
                <!--<div class="group" :class="{'error': !form.availability && !rules.availability}">-->
                <div class="group" :class="{'error': !form.teachHoursEachWeek && !rules.teachHoursEachWeek}">
                  <div class="rf-item-select iconAft" @click="handleShowCalendar">
                    <div class="likeSelect">
                      <div class="group flex-whitespace">
                        <p class="noWarp">
                          <span v-if="form.teachHoursEachWeek">{{hoursWeekOptions[form.teachHoursEachWeek]}}</span>
                          <span v-else>Please select</span>
                          <!--calendarSidle-->
                          <!--<span v-if="JSON.stringify(cpVailability) === '{}'">Please select</span>-->
                          <!--<span v-for="(item,index) in cpVailability">-->
                            <!--<i v-for="(item1,idx) in item"><template v-if="idx != 0">,</template>{{item1}}</i>(<template v-if="index !== '9:00-12:00'">AM</template><template v-else>PM</template> {{index}})-->
                          <!--</span>-->
                        </p>
                      </div>

                    </div>
                  </div>
                  <div class="rf-item-error">Please select</div>
                </div>
              </div>

              <div class="regForm-item labTop">
                <label class="rf-item-label">Your Location</label>
                <p>We'll match you with the classes closest to you</p>
              </div>

              <div class="regForm-item labLeft">
                <label class="rf-item-label">City<dfn>*</dfn></label>
                <div class="group" :class="{'error': !form.city && !rules.city}">
                  <div class="rf-item-select iconAft">
                    <select class="regSelect" v-model="form.city" @change="handleSelectCity">
                      <option value="" disabled selected>Please select</option>
                      <option :value="index" v-for="(item,index) in city" :key="index">{{index}}</option>
                    </select>
                  </div>
                  <div class="rf-item-error">Please select</div>
                </div>
              </div>

              <div class="regForm-item labLeft">
                <label class="rf-item-label">District<dfn>*</dfn></label>
                <div class="group" :class="{'error': !form.district && !rules.district}">
                  <div class="rf-item-select iconAft">
                    <select class="regSelect" v-model="form.district">
                      <option value="" disabled selected>Please select</option>
                      <!--<option value="Shanghai">Shanghai</option>-->
                      <option :value="item" v-for="(item, index) in city[form.city]" :key="index">{{item}}</option>
                    </select>
                  </div>
                  <div class="rf-item-error">Please select</div>
                </div>

              </div>

              <div class="regForm-item labTop">
                <label class="rf-item-label">Street</label>
                <div class="rf-item-input">
                  <input type="text" placeholder="e.g.Yanan Rd. 12, or Line 2 West Nanjing Rd." v-model="form.street" maxlength='100'>
                </div>
              </div>

              <div class="regForm-item labTop">
                <label class="rf-item-label">Nationality<dfn>*</dfn></label>
                <div class="group" :class="{'error': !rules.nationality && (form.nationality === 'Please select')}" @click="handleShowCountryCode(2)">
                  <!--@click="handleShowCountryCode(1)"-->
                  <!--<div class="rf-item-select iconAft">-->
                    <!--<select class="regSelect" v-model="form.nationality">-->
                      <!--<option value="" disabled selected>Please select</option>-->
                      <!--<option value="Shanghai">China</option>-->
                      <!--<option value="Beijing">Beijing</option>-->
                    <!--</select>-->
                  <!--</div>-->
                  <div class="rf-item-select iconAft">
                    <div class="likeSelect">{{form.nationality}}</div>
                  </div>

                  <div class="rf-item-error">Please select</div>
                </div>

              </div>

              <div class="regForm-item labTop">
                <label class="rf-item-label">Educational Background</label>
                <div class="rf-item-input">
                  <input type="text" v-model="form.background" maxlength='50'>
                </div>
              </div>

              <div class="regForm-item labTop">
                <label class="rf-item-label">Major</label>
                <div class="rf-item-input">
                  <input type="text" v-model="form.major" maxlength='50'>
                </div>
              </div>

              <div class="regForm-item labTop">
                <label class="rf-item-label">Total Teaching Experience</label>
                <div class="rf-item-select iconAft">
                  <select class="regSelect" v-model="form.total">
                    <option value="" disabled selected>Please select</option>
                    <option v-for="(item, index) in teachingTotalOptions" :value="index" :key="index">{{item}}</option>
                  </select>
                </div>
              </div>

              <div class="regForm-item labTop">
                <label class="rf-item-label">Teaching Experience in China</label>
                <div class="rf-item-select iconAft">
                  <select class="regSelect" v-model="form.totalInChina">
                    <option value="" disabled selected>Please select</option>
                    <option v-for="(item, index) in teachingTotalOptions" :value="index" :key="index">{{item}}</option>
                  </select>
                </div>
              </div>

              <div class="regForm-item labTop">
                <label class="rf-item-label">Teaching Certificate</label>
                <div class="rf-item-input">
                  <input type="text" placeholder="e.g. TEFL / TESOL or Others" v-model="form.certificate">
                </div>
              </div>

              <span class="btn" @click="handleSubmit">Submit</span>

            </form>
          </section>
        </article>
      </div>
    </transition>
    <!--//注册表单-->

    <!--区号选择-->
    <transition name="fade">
      <div class="alertBox territoryCode fullPage" v-if="alertBox.showTCode">
        <header class="tCode-head">
          <div class="tCode-tit dsFlex">
            Select country <template v-if="alertBox.showTCodeNum">code</template> <span class="iconfont icon-close" @click="closeAlert(2)"></span>
          </div>
          <div class="tCode-select">
            <input type="text" v-model="filterTcode">
          </div>
        </header>

        <div class="countryCode">
          <ul v-if="alertBox.showTCodeNum">
            <template v-if="!filterTcode">
              <li v-for="(item,index) in codeListHot" @click="handleSelectCode(item.prefix)">{{item.country_name}} (+{{item.prefix}})</li>
              <li class="line"></li>
            </template>
            <li v-for="(item, index) in newTCode" @click="handleSelectCode(item.prefix)">{{item.country_name}} (+{{item.prefix}})</li>
          </ul>
          <ul v-else>
            <template v-if="!filterTcode">
              <li v-for="(item,index) in codeListHot" @click="handleSelectNationality(item.country_name)">{{item.country_name}}</li>
              <li class="line"></li>
            </template>
            <li v-for="(item, index) in newTCode" @click="handleSelectNationality(item.country_name)">{{item.country_name}}</li>
          </ul>
        </div>
      </div>
    </transition>
    <!--区号选择-->

    <!--注册成功-->
    <transition  name="fade">
      <div class="alertBox fullPage" v-if="alertBox.step2">
        <div class="fullPage-header confirmHeader">
          <!--<span class="iconBefore icon-back" @click="closeAlert(2)"></span>-->
          <h3>Confirmation</h3>
        </div>
        <article class="fullPage-detail">
          <section class="regSuccess">
            <header class="regSuc-tit iconBefore">
              Thanks for Signing up!
            </header>
            <section class="regSuccess-info">
              We've successfully recorded your information,
              We will contact you about available positions within the
              next 2 days. We look forward to you joining the team!
            </section>

            <section class="regContact">
              <div class="regContact-l"><img src="images/reg/qrcode.png"></div>
              <div class="regContact-r">
                <p>Please scan the QR code to add us for more recruitment information</p>
                <p class="regContact-mail"><strong>Email:</strong> service@svenglish.cn</p>
                <p><strong>Phone:</strong> <a href="tel:4006863106"class="call">400 686 3106</a></p>
              </div>
            </section>
          </section>
        </article>
      </div>
    </transition>
    <!--//注册成功-->

    <!--老师日期选择-->
    <transition name="bounceIn">
      <div class="alertBox fullPage availability" v-if="alertBox.step3">
        <div class="fullPage-header">
          <span class="iconBefore icon-close" @click="closeAlert(3)"></span>
          <h3>Your Availability</h3>
        </div>
        <article class="fullPage-detail" ref="availabilityEL">
          <div class="regForm-item labTop">
            <label class="rf-item-label">
              On average, how many hours would you like to teach each week?
              <dfn>*</dfn>
            </label>
            <div class="group" :class="{'error': !form.teachHoursEachWeek && !rules.teachHoursEachWeek}">
              <div class="rf-item-select iconAft">
                <select class="regSelect" v-model="form.teachHoursEachWeek">
                  <option value="" disabled="disabled" selected="selected">Please select</option>
                  <option v-for="(item,index) in hoursWeekOptions" :value="index" :key="item">{{item}}</option>
                </select>
              </div>
              <div class="rf-item-error">Please select</div>
            </div>
          </div>
          <section class="calendar">
            <p class="calendar-tip">
              When are you generally available to teach every week?
            </p>

            <div class="calendar-box">
              <div class="calendar-l"><span class="calendar-am"><i>AM</i></span><span class="calendar-pm"><i>PM</i></span></div>
              <div class="calendar-r">
                <div class="calendar-row">
                  <div class="calendar-item item-th calendar-timer"></div>
                  <div class="calendar-item item-th">Sun</div>
                  <div class="calendar-item item-th">Mon</div>
                  <div class="calendar-item item-th">Tue</div>
                  <div class="calendar-item item-th">Wed</div>
                  <div class="calendar-item item-th">Thu</div>
                  <div class="calendar-item item-th">Fri</div>
                  <div class="calendar-item item-th">Sat</div>
                </div>
                <div class="calendar-row" v-for="(item,index) in calendar" :key="index">
                  <div class="calendar-item calendar-timer">{{item.timer}}</div>
                  <div class="calendar-item" v-for="(item1,idx) in item.week" :key="idx">
                    <input type="checkbox" :value="item1" v-model="calendar[index].week[idx]" :name="item.timer">
                  </div>
                </div>
              </div>
            </div>

          </section>

          <section class="fDetDesc">
            <div class="regForm-item labTop">
              <label class="rf-item-label">
                Please provide any further details about your schedule/availability here:
              </label>
              <div class="rf-item-input">
                <textarea class="textarea-fDet input" v-model="form.scheduleDetail" maxlength="200"></textarea>
              </div>
            </div>
          </section>
          <span class="btn confirmBtn" @click="handleConfirmSchedu">Confirm</span>
        </article>
      </div>
    </transition>
    <!--//老师日期选择-->

    <div class="loading js_loading_bg" v-show="loading"><div class="loading_box"><img src="images/loading.gif"></div></div>
  </div>
  <!--//regEL-->

  <footer class="appFoot">
    <a href="index.html"><span class="appFoot-itemText">免费试听</span></a>
    <a href="course-1.html"><span class="appFoot-itemText">了解课程</span></a>
    <a href="myOrder.html"><span class="appFoot-itemText">我的...</span></a>
    <a href="about.html"><span class="appFoot-itemText">关于我们</span></a>
  </footer>

  <script src="js/vue.min.js"></script>
  <!--<script src="https://unpkg.com/axios/dist/axios.min.js"></script>-->
  <script src="js/axios.min.js"></script>
  <script src="js/regform.js"></script>

  <!-- Global site tag (gtag.js) - Google Analytics -->
  <script async src="https://www.googletagmanager.com/gtag/js?id=UA-133564697-1"></script>
  <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'UA-133564697-1');
  </script>
</body>
</html>
